From 2c4f313a7e62c7e559a469d4af4c3d03c49afa43 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 2 Dec 2015 15:22:56 +0100 Subject: [PATCH] xen/build: disable default built-in rules and variables Disable the built-in rules and variables from GNU make to improve build performance and avoid awkward corner cases with the built-in rules. Currently none of the implicit rules are used but this is helpful to do when developing changes to the build system. Signed-off-by: Doug Goldstein Reviewed-by: Andrew Cooper Acked-by: Jan Beulich --- xen/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/Makefile b/xen/Makefile index fa9cf0a62b..3a1de99532 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -15,6 +15,9 @@ export XEN_BUILD_HOST ?= $(shell hostname) export BASEDIR := $(CURDIR) export XEN_ROOT := $(BASEDIR)/.. +# Do not use make's built-in rules and variables +MAKEFLAGS += -rR + EFI_MOUNTPOINT ?= $(BOOT_DIR)/efi .PHONY: default -- 2.30.2